import { HWMI_URLS } from "../../modules/Api";

export default function () {
    // format: "txt" or "csv"
    const downloadTxtCsv = (format) => {
        window.open(
            HWMI_URLS.managementUrls.graphDbManagementUrls.getDownloadLinkUrl + `?format=${format}`);
    };

    return {
        downloadTxtCsv
    };
}